<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'register.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
<body>
<div id="all" style="border:3px solid #F00;height:1183px;width:1000px;margin:0 auto;" >
	<div id="top" style="width:960px;background-color:#FFF;">
    	<div id="logo" >
    		<img alt="公司LOGO" src="img/logo.jpg" width="1000px" />
    	</div>
        <div id="navi" style="width:1000;background-color:#CC0005;height:40px;float:left;">
        	<ul style="width:960px;">
            	<li style="display:inline;margin-left:120px;"><a href="index.jsp" style="color:#FFF;font-weight:bold;">首页</a></li>
            	
                <li style="display:inline;margin-left:50px;color:#FFF;background-color:#999"><a href="" style="color:#FFF;font-weight:bold;font-size:14px;">登陆</a>/<a href="" style="color:#FFF;font-weight:bold;font-size:14px;">注册</a></li>               
            </ul>
        </div>
    </div> 
		<h1 align="center" style="margin-top:100px;">我要请假</h1>
	<div align="center" style="margin-top:100px">
		<form action="springmvc/leave/addleave" theme="simple" method="post">
			<table width="50%" border="0" style="width: 50px;height: 500px;">
				<tr>
					<td align="right">请假原因:</td>
					<td>
						<input name="reason" type="text"/>
					</td>
					<td>
						<font color="red" align="left">
							<h6>*必填</h6>
						</font>
				</tr>
				<tr>
					<td align="right">请假天数:</td>
					<td width="20px">
						<input name="lday" type="password"/>
					</td>
					<td>
						<font color="red" align="left">
							<h6>*必填</h6>
						</font>
					</td>
				</tr>
				<tr >
					<td align="left">
						<input value="提交" type="submit"/>
					</td>
					<td align="right">
						<input value="重置" type="reset"/>
					</td>
				</tr>
			</table>
		</form>
	</div>
    <div id="bottom" style="margin-top:62px">
    	<img alt="页面底部" src="img/bottom.jpg" width="1000px" height="50px"/>
    </div>
    <h5 style="text-align:center;color:#666;">版权所属  解释权归我所有  隐私保护</h5>
    <h5 style="text-align:center;color:#666;">联系电话：不告诉你  意见邮箱：你不会有意见可提，所以没有</h5>
	</div>    
</body>
</html>